package com.pine.common.captcha.core;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * <p>
 * 验证码信息
 * </p>
 *
 * @author pine manage
 * @since 2024-08-21
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class CaptchaCodeInfo {

    public static final String CACHE_KEY = "captcha_code:";

    /**
     * 验证码ID
     */
    private String captchaKey;

    /**
     * 验证码图片Base64字符串
     */
    private String captchaBase64;

    /**
     * 验证码过期时间-单位（秒）
     */
    private Long expireTime;
}
